home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 26 code / Truffles-Display Mgr.sit / Truffles - Display Mgr. / Sprocket / Sources / UtilityClasses.cp < prev    next >
MacBinary  |  1996-01-02  |  1.3 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert MS-DOS Code Page Info (other/dosCodePage) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Jan 1 20:56:30 1996, modified Mon Jan 1 20:56:30 1996, creator 'CWIE', type ASCII, 572 bytes "UtilityClasses.cp" , at 0x2bc 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 55 74 69 6c 69 74 | 79 43 6c 61 73 73 65 73 |..Utilit|yClasses|
|00000010| 2e 63 70 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.cp.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 02 3c 00 | 00 01 9a ad 0e 41 4e ad |......<.|.....AN.|
|00000060| 0e 41 4e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.AN.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ea 34 00 00 |........|.....4..|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 55 74 69 6c 69 |/*..File|:..Utili|
|00000090| 74 79 43 6c 61 73 73 65 | 73 2e 63 70 0d 0d 09 43 |tyClasse|s.cp...C|
|000000a0| 6f 6e 74 61 69 6e 73 3a | 09 55 73 65 66 75 6c 20 |ontains:|.Useful |
|000000b0| 75 74 69 6c 69 74 79 20 | 66 75 6e 63 74 69 6f 6e |utility |function|
|000000c0| 73 20 77 68 65 6e 20 75 | 73 69 6e 67 20 74 68 65 |s when u|sing the|
|000000d0| 20 44 72 61 67 20 4d 61 | 6e 61 67 65 72 2e 0d 0d | Drag Ma|nager...|
|000000e0| 09 57 72 69 74 74 65 6e | 20 62 79 3a 20 44 61 76 |.Written| by: Dav|
|000000f0| 65 20 46 61 6c 6b 65 6e | 62 75 72 67 0d 0d 09 43 |e Falken|burg...C|
|00000100| 6f 70 79 72 69 67 68 74 | 3a 09 a9 20 31 39 39 33 |opyright|:.. 1993|
|00000110| 2d 31 39 39 36 20 62 79 | 20 44 61 76 65 20 46 61 |-1996 by| Dave Fa|
|00000120| 6c 6b 65 6e 62 75 72 67 | 2c 20 61 6c 6c 20 72 69 |lkenburg|, all ri|
|00000130| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 0d 0d |ghts res|erved...|
|00000140| 09 43 68 61 6e 67 65 20 | 48 69 73 74 6f 72 79 20 |.Change |History |
|00000150| 28 6d 6f 73 74 20 72 65 | 63 65 6e 74 20 66 69 72 |(most re|cent fir|
|00000160| 73 74 29 3a 0d 09 20 0d | 20 2a 2f 0d 0d 23 69 6e |st):.. .| */..#in|
|00000170| 63 6c 75 64 65 20 22 55 | 74 69 6c 69 74 79 43 6c |clude "U|tilityCl|
|00000180| 61 73 73 65 73 2e 68 22 | 0d 0d 0d 54 47 72 61 70 |asses.h"|...TGrap|
|00000190| 68 69 63 73 43 6f 6e 74 | 65 78 74 3a 3a 54 47 72 |hicsCont|ext::TGr|
|000001a0| 61 70 68 69 63 73 43 6f | 6e 74 65 78 74 28 47 72 |aphicsCo|ntext(Gr|
|000001b0| 61 66 50 74 72 20 61 50 | 6f 72 74 29 0d 09 7b 0d |afPtr aP|ort)..{.|
|000001c0| 09 47 65 74 50 6f 72 74 | 28 26 66 4f 6c 64 50 6f |.GetPort|(&fOldPo|
|000001d0| 72 74 29 3b 0d 09 53 65 | 74 50 6f 72 74 28 61 50 |rt);..Se|tPort(aP|
|000001e0| 6f 72 74 29 3b 0d 09 0d | 09 66 4f 6c 64 43 6c 69 |ort);...|.fOldCli|
|000001f0| 70 20 3d 20 4e 65 77 52 | 67 6e 28 29 3b 0d 09 47 |p = NewR|gn();..G|
|00000200| 65 74 43 6c 69 70 28 66 | 4f 6c 64 43 6c 69 70 29 |etClip(f|OldClip)|
|00000210| 3b 0d 09 47 65 74 50 65 | 6e 53 74 61 74 65 28 26 |;..GetPe|nState(&|
|00000220| 66 4f 6c 64 50 65 6e 53 | 74 61 74 65 29 3b 0d 09 |fOldPenS|tate);..|
|00000230| 7d 0d 0d 0d 54 47 72 61 | 70 68 69 63 73 43 6f 6e |}...TGra|phicsCon|
|00000240| 74 65 78 74 3a 3a 7e 54 | 47 72 61 70 68 69 63 73 |text::~T|Graphics|
|00000250| 43 6f 6e 74 65 78 74 28 | 29 0d 09 7b 0d 09 53 65 |Context(|)..{..Se|
|00000260| 74 43 6c 69 70 28 66 4f | 6c 64 43 6c 69 70 29 3b |tClip(fO|ldClip);|
|00000270| 0d 09 44 69 73 70 6f 73 | 65 52 67 6e 28 66 4f 6c |..Dispos|eRgn(fOl|
|00000280| 64 43 6c 69 70 29 3b 0d | 09 53 65 74 50 65 6e 53 |dClip);.|.SetPenS|
|00000290| 74 61 74 65 28 26 66 4f | 6c 64 50 65 6e 53 74 61 |tate(&fO|ldPenSta|
|000002a0| 74 65 29 3b 0d 09 53 65 | 74 50 6f 72 74 28 66 4f |te);..Se|tPort(fO|
|000002b0| 6c 64 50 6f 72 74 29 3b | 0d 09 7d 0d 00 00 00 00 |ldPort);|..}.....|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000310| de 50 61 67 65 53 65 74 | 75 70 5f 5f 39 54 44 6f |.PageSet|up__9TDo|
|00000320| 63 75 6d 65 6e 74 46 55 | 63 00 04 d7 52 65 76 65 |cumentFU|c...Reve|
|00000330| 11 55 74 69 6c 69 74 79 | 43 6c 61 73 73 65 73 2e |.Utility|Classes.|
|00000340| 63 70 02 00 00 00 54 45 | 58 54 43 57 49 45 01 00 |cp....TE|XTCWIE..|
|00000350| 00 00 54 45 58 54 43 57 | 49 45 01 00 ff ff ff ff |..TEXTCW|IE......|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 ad 0d f8 e3 00 00 | 02 3c 00 00 01 9a 6e 74 |........|.<....nt|
|00000380| 46 55 63 00 05 60 47 65 | 74 44 6f 63 75 6d 65 6e |FUc..`Ge|tDocumen|
|00000390| 74 4e 61 6d 65 5f 5f 39 | 54 44 6f 63 75 6d 65 6e |tName__9|TDocumen|
|000003a0| 74 46 76 00 04 db 44 6f | 4d 65 6e 75 43 6f 6d 6d |tFv...Do|MenuComm|
|000003b0| 61 6e 64 5f 5f 39 54 44 | 6f 63 75 6d 65 6e 74 46 |and__9TD|ocumentF|
|000003c0| 55 6c 00 04 15 47 65 74 | 44 6f 63 75 6d 65 6e 74 |Ul...Get|Document|
|000003d0| 4b 69 6e 64 5f 5f 31 35 | 54 4c 61 79 6f 75 74 44 |Kind__15|TLayoutD|
|000003e0| 6f 63 75 6d 65 6e 74 46 | 76 00 01 de 5f 5f 64 74 |ocumentF|v...__dt|
|000003f0| 5f 5f 31 35 54 4c 61 79 | 6f 75 74 44 6f 63 75 6d |__15TLay|outDocum|
|00000400| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 03 | 00 04 00 81 00 2d 01 d8 |........|.....-..|
|00000430| 02 8c 00 81 00 2d 01 d8 | 02 8c ad 0d fb 38 00 00 |.....-..|.....8..|
|00000440| 01 0a 00 00 01 0a 00 00 | 00 5f 01 00 00 00 00 04 |........|._......|
|00000450| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000460| 00 00 00 46 00 df 46 60 | 10 2a 00 00 00 1c 00 46 |...F..F`|.*.....F|
|00000470| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000480| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000490| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+